package self.seon.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;
import self.seon.domain.http.ResponseResult;

/**
 * 跨域问题的测试类
 * @author Seon
 * @date 2022/9/9 3:20
 */
@Slf4j
@RestController
public class CrossController {
    @PostMapping("/testCors")
    public ResponseResult<?> test() {
        return new ResponseResult<>(200, "success", "success");
    }
}
